win32 theme: Get rid of deprecated style properties
authorBenjamin Otte <otte@gnome.org>
Sun, 7 Feb 2016 03:11:55 +0000 (04:11 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 11 Feb 2016 02:44:47 +0000 (03:44 +0100)
That's pretty easy, because we can just delete them. The theme is broken either way.

gtk/theme/win32/gtk-win32-base.css
gtk/theme/win32/gtk.css

index 6aa899a2467a7716db3d8ac9946b29874f5a98fb..7ebbd783391c2959b2e068c4fd0abc763a7f8680 100644 (file)
@@ -27,13 +27,19 @@ viewport {
 
 * {
     color: -gtk-win32-color(button, 18);
-    -GtkWidget-link-color: -gtk-win32-color(button, 26);
-    -GtkWidget-visited-link-color: -gtk-win32-color(button, 26);
     border-color: shade (@bg_color, 0.6);
 
     -GtkScrolledWindow-scrollbars-spacing: 0;
 }
 
+:link {
+    color: -gtk-win32-color(button, 26);
+}
+
+:visited {
+    color: -gtk-win32-color(button, 26);
+}
+
 frame {
     border-width: 2px;
     border-style: solid;
@@ -133,9 +139,6 @@ button {
     background-color: transparent;
     background-image: -gtk-win32-theme-part(button, 1 1);
     border-width: 0;
-    -GtkWidget-focus-line-width: 1;
-    -GtkWidget-focus-padding: 3;
-    -GtkButton-default-border: 0px;
     padding: 3px;
 }
 
@@ -946,12 +949,6 @@ menu * {
   padding: 2px;
 }
 
-/* Make arrows a bit smaller to fit better into W32 theme
-   FIXME: they still have the wrong style though - angle instead of a filled triangle */
-menuitem {
-    -GtkMenuItem-arrow-scaling: 0.5;
-}
-
 /* Assistant */
 
 GtkAssistant .sidebar .highlight {
index 906bebc25bca39de16ce0d5ee20ecaa2344b4165..7f8098abd6764bbae197108bd25637eb1e22ba4d 100644 (file)
@@ -106,8 +106,6 @@ notebook {
        * first(last in RTL?) tab has extra gap that disappears (due to overlapping) when this tab activates
        This can't be emulated in GTK, so we won't even try.
     */
-    -GtkNotebook-tab-overlap: 0;
-    -GtkNotebook-tab-curvature: 0;
 }
 
 notebook tab {